<?php 
    require_once 'header.phtml';
?>
<div class="yanshibox">
	<div class="yanshicenter">
    	<div class="yanshileft">
        	<div class="yanshimc">
            	<h1 style="font-size:26px;padding-right:55px;">代支付演示</h1><i></i>
            </div>
            <div class="yanshibz">
            	<ul>
                	<li <?php if($this->step == 1){ ?>class="yson"<?php } ?>><a href="/demo/payment/step/1" target="_parent"><span>1.</span>挑选要买的商品</a><i></i></li>
                	<li <?php if($this->step == 2){ ?>class="yson"<?php } ?>><a href="/demo/payment/step/2" target="_parent"><span>2.</span>选择找人代付</a><i></i></li>
                	<li <?php if($this->step == 3){ ?>class="yson"<?php } ?>><a href="/demo/payment/step/3" target="_parent"><span>3.</span>选择其他代付方式</a><i></i></li>
                	<li <?php if($this->step == 4){ ?>class="yson"<?php } ?>><a href="/demo/payment/step/4" target="_parent"><span>4.</span>生成付款链接</a><i></i></li>
                	<li <?php if($this->step == 5){ ?>class="yson"<?php } ?>><a href="/demo/payment/step/5" target="_parent"><span>5.</span>复制付款链接</a></li>
                	<li <?php if($this->step == 6){ ?>class="yson"<?php } ?>><a href="/demo/payment/step/6" target="_parent"><span>6.</span>进入悠奇申请代付款</a></li>
                	<li <?php if($this->step == 7){ ?>class="yson"<?php } ?>><a href="/demo/payment/step/7" target="_parent"><span>7.</span>支付代付款金额</a></li>
                	<li <?php if($this->step == 8){ ?>class="yson"<?php } ?>><a href="/demo/payment/step/8" target="_parent"><span>8.</span>完成申请</a></li>
                </ul>
            </div>
        </div>
        <div class="yanshiright">
            <div class="yanshipic"><img src="/images/vip/ys_dzf/dzf<?php echo $this->step; ?>.gif" alt="挑选要买的商品" border="0" usemap="#Map">
              <?php if($this->step < 8){ ?>                
                    <map name="Map">
                      <?php if($this->step == 1){ ?>  
                          <area shape="rect" coords="433,535,627,593" href="/demo/payment/step/2" target="_parent">
                      <?php }else if($this->step == 2){ ?>
                          <area shape="rect" coords="688,536,867,595" href="/demo/payment/step/3" target="_parent">
                      <?php }else if($this->step == 3){ ?>
                          <area shape="rect" coords="485,306,696,366" href="/demo/payment/step/4" target="_parent">
                      <?php }else if($this->step == 4){ ?>
                          <area shape="rect" coords="628,262,924,357" href="/demo/payment/step/5" target="_parent">
                      <?php }else if($this->step == 5){ ?>
                          <area shape="rect" coords="208,177,650,311" href="/demo/payment/step/6" target="_parent">
                      <?php }else if($this->step == 6){ ?>
                          <area shape="rect" coords="368,544,591,621" href="/demo/payment/step/7" target="_parent">
                      <?php }else if($this->step == 7){ ?>
                          <area shape="rect" coords="110,205,453,289" href="/demo/payment/step/8" target="_parent">
                      <?php } ?>
                    </map>
              <?php }else{ ?>
                    <div class="xiayibu" style="left:370px;">
                        <ul>
                            <li><a href="/demo/payment/step/1" target="_parent">再看一遍</a></li>
                        </ul>
                    </div>                
              <?php } ?>
        </div>
            <div class="yanshify">
            	<div class="yanshihei"></div>
                <div class="ysfanye">
                    <?php if($this->step > 1){ ?>
                        <div class="fyleft"><a href="/demo/payment/step/<?php echo $this->step-1; ?>" target="_parent">上一步</a></div>
                    <?php } ?>
                    <?php if($this->step < 8){ ?>    
                        <div class="fyright"><a href="/demo/payment/step/<?php echo $this->step+1; ?>" target="_parent">下一步</a></div>
                    <?php } ?>
                </div>
            </div>
        </div>
    </div>
</div>

<?php require_once 'footer.phtml'; ?>